﻿using System.Xml.Serialization;

namespace GISUtil.KML
{
  /// <summary>
  /// Represents the ways in which X and Y values for HotSpot can be specified
  /// </summary>
  public enum HotSpotUnit
  {
    /// <summary>
    /// Specified with a number of Pixels
    /// </summary>
    [XmlEnum(Name = "pixels")]
    Pixels,

    /// <summary>
    /// Specified as a fractional component of the image
    /// </summary>
    [XmlEnum(Name = "fraction")]
    Fraction,

    /// <summary>
    /// Specified as an indent from the top/right side of the image. 
    /// </summary>
    [XmlEnum(Name = "insetPixels")]
    InsetPixels
  }
}